Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weapon drop callback + Fix for weapons still dropping #692

Merged
merged 20 commits into from
Feb 28, 2024

Conversation

NoCatt
Copy link
Contributor

@NoCatt NoCatt commented Aug 25, 2023

As of making this PR its untested.

This adds a callback for when a gun gets dropped, this is just an implementation of the already existing CodeCallback.
It at the same time fixes #613 and is a better #617 , it removed the callback for deleting the dropped gun.

Closes #613

@NoCatt
Copy link
Contributor Author

NoCatt commented Aug 25, 2023

okay so I tested the code callback now and the flag, and both work havent tested in specifically Infection though

Copy link
Contributor

@ASpoonPlaysGames ASpoonPlaysGames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question and some formatting

Copy link
Contributor

@ASpoonPlaysGames ASpoonPlaysGames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, haven't tested yet

@ASpoonPlaysGames ASpoonPlaysGames added the needs testing Changes from the PR still need to be tested label Aug 26, 2023
Copy link
Member

@EladNLG EladNLG left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked at: everything (did not test, only looked at code)
code is fine, diffs are hard to read but git hates you ig.

Copy link
Contributor

@ASpoonPlaysGames ASpoonPlaysGames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting stuff

Copy link
Contributor

@ASpoonPlaysGames ASpoonPlaysGames left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating review because for some reason its still blocking?
Anyway yeah code looks good

@Bobbyperson
Copy link
Contributor

Tested on infection with latest northstar version. Can confirm that this works as intended, executions no longer bypass the weapon drop flag.

@GeckoEidechse GeckoEidechse added READY TO MERGE This mergeable right now and removed needs testing Changes from the PR still need to be tested labels Feb 28, 2024
@GeckoEidechse GeckoEidechse merged commit 51eb5ea into R2Northstar:main Feb 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
READY TO MERGE This mergeable right now
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Executing someone drops weapons in Infection
5 participants